home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Samples / SampleCode / PickOne / headers / PickOne_documentStructure.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-14  |  925 b   |  33 lines  |  [TEXT/CWIE]

  1. /*  PickOne_documentStructure.h                                                                            
  2.  
  3.     This contains all the document-specific code.
  4.                                                                                     
  5.     Michael Bishop - August 21 1996                                                    
  6.     (c)1994-96 Apple Computer Inc., All Rights Reserved                                
  7.  
  8. */
  9.  
  10. #ifndef _BP_DOCUMENTSTRUCTURE_H_
  11. #define _BP_DOCUMENTSTRUCTURE_H_
  12.  
  13. #include    <QuickDraw.h>
  14.  
  15. #include    "QD3D.h"
  16.  
  17.  
  18. struct _documentRecord {
  19.  
  20.     WindowPtr        fWindow ;                /* the window associated with this document */
  21.     
  22.     TQ3ViewObject    fView ;                    /*  the view for the scene */
  23.     TQ3GroupObject    fModel ;                /*  object in the scene being modelled */
  24.     TQ3StyleObject    fInterpolation ;        /*  interpolation style used when rendering */
  25.     TQ3StyleObject    fBackFacing ;            /*  whether to draw shapes that face away from the camera */
  26.     TQ3StyleObject    fFillStyle ;            /*  whether drawn as solid filled object or decomposed to components */
  27.     TQ3Matrix4x4    fRotation;                /*  the transform for the model */
  28.  
  29. } ;
  30.  
  31.  
  32. #endif
  33.